<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>关于我 - 我的个人博客</title>
    <link rel="stylesheet" href="css/style.css" />
</head>
<body>
<header class="header">
    <div class="container">
        <h1 class="logo">我的博客</h1>
        <nav class="main-nav">
            <ul>
                <li><a href="index.html">首页</a></li>
                <li><a href="about.html" class="active">关于我</a></li>
                <li><a href="#contact">联系我</a></li>
            </ul>
        </nav>
    </div>
</header>

<main class="container about-container">
    <section class="about-section">
        <h2>关于我</h2>
        <div class="about-content">
            <img
                    src="./img/avatar-06.jpg"
                    alt="我的照片"
                    class="about-img"
                    style="width: 100px"
                    loading="lazy"
            />
            <div class="about-text">
                <h3>张三</h3>
                <p class="title">前端开发工程师</p>
                <p>
                    我是一名热爱前端开发的技术爱好者，专注于HTML5、CSS3和JavaScript技术。拥有5年Web开发经验，喜欢探索新技术并分享知识。
                </p>
                <p>我的技术栈包括：</p>
                <ul class="skills">
                    <li>HTML5 & CSS3</li>
                    <li>JavaScript (ES6+)</li>
                    <li>React.js</li>
                    <li>Vue.js</li>
                    <li>Node.js</li>
                    <li>Git</li>
                </ul>
            </div>
        </div>
    </section>

    <section class="contact-section" id="contact">
        <h2>联系我</h2>
        <div class="contact-methods">
            <div class="contact-info">
                <h3>联系方式</h3>
                <ul>
                    <li><i class="fas fa-envelope"></i> Email: <a href="mailto:example@example.com">example@example.com</a></li>
                    <li><i class="fas fa-phone"></i> 电话: 123-456-7890</li>
                    <li><i class="fas fa-map-marker-alt"></i> 地址: 北京市海淀区</li>
                </ul>

                <div class="social-links">
                    <a href="#" aria-label="GitHub"><i class="fab fa-github"></i></a>
                    <a href="#" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
                    <a href="#" aria-label="LinkedIn"><i class="fab fa-linkedin"></i></a>
                    <a href="#" aria-label="Weibo"><i class="fab fa-weibo"></i></a>
                </div>
            </div>

            <form class="contact-form">
                <h3>发送消息</h3>
                <div class="form-group">
                    <label for="name">姓名</label>
                    <input type="text" id="name" name="name" placeholder="你的姓名" autocomplete="name" required />
                </div>
                <div class="form-group">
                    <label for="email">邮箱</label>
                    <input type="email" id="email" name="email" placeholder="你的邮箱" autocomplete="email" required />
                </div>
                <div class="form-group">
                    <label for="subject">主题</label>
                    <input type="text" id="subject" name="subject" placeholder="主题" />
                </div>
                <div class="form-group">
                    <label for="message">消息</label>
                    <textarea id="message" name="message" rows="5" placeholder="你的消息" required></textarea>
                </div>
                <button type="submit" class="btn">发送消息</button>
            </form>
        </div>
    </section>
</main>

<footer class="footer">
    <div class="container">
        <p>&copy; 2023 我的个人博客. 保留所有权利.</p>
        <div class="social-links">
            <a href="#" aria-label="GitHub"><i class="fab fa-github"></i></a>
            <a href="#" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
            <a href="#" aria-label="LinkedIn"><i class="fab fa-linkedin"></i></a>
        </div>
    </div>
</footer>

<button id="back-to-top" title="回到顶部" aria-label="回到页面顶部">↑</button>
<script src="js/script.js"></script>
</body>
</html>
